package structuralPatterns.adapter;

public class Main {

    public static void main(String[] args) {
        //类适配器
        Target classAdapter = new ClassAdapter();
        classAdapter.request();

        //对象适配器
        Target instanceAdapter = new InstanceAdapter(new Adaptee());
        instanceAdapter.request();

    }
}
